<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="/wslds-tags" prefix="lds"%>
<lds:html>
<lds:head>
	<script type="text/javascript" src="http://file.ii2d.com/static/js/jquery-ui/1.8.18/jquery-ui-1.8.18.custom.min.js"></script>
	<link href="http://file.ii2d.com/static/js/jquery-ui/1.8.18/css/smoothness/jquery-ui-1.8.18.custom.css" rel="stylesheet" type="text/css" />
	<lds:headUploaderResource />
	<title>添加图片</title>
	<lds:uploaderInit/>
</lds:head>
<lds:body>
	<div class="content_block">
		<div class="content_title">图片</div>
		<div class="clear"></div>
		<div class="content_content">
			<form action="<lds:linkTo action="insert" />" method="post" id="artForm">
				<input type="hidden" name="instance.imgTypeId" value="${ instance.imgTypeId }" />
				<div class="content_row">
					<div class="title">图片名称</div>
					<div class="data">
						<input type="text" name="instance.showName" value="" />
					</div>
					<div class="tip" id="tip"></div>
				</div>
				<div class="content_row">
					<div class="title">选择图片</div>
					<div class="data">
						<lds:uploaderButton fileIdAttributeName="instance.fileId" fileExtAttributeName="instance.ext" />
					</div>
					<div class="tip" id="tip"></div>
				</div>
				<div>
					<input type="button" value="提交" id="choose" /> <input type="button" value="取消" id="cancel" />
				</div>
			</form>
		</div>
		<div class="clear"></div>
	</div>
</lds:body>
</lds:html>
